package cnsatmsmart.automation.mmi.helper.utilities;

/**
 * @author SIK - PTIK, BPPT
 **/

public class GlobalEnvVars {
    public static final float COS15 = 0.9659258262890683f;
    public static final float SIN15 = 0.25881904510252074f;
    public static final float COS30 = 0.8660254037844387f;
    public static final float SIN30 = 0.49999999999999994f;
    public static final float COS45 = 0.7071067811865476f;
    public static final float SIN45 = 0.7071067811865475f;
    public static final float COS60 = 0.5000000000000001f;
    public static final float SIN60 = 0.8660254037844386f;
    public static final float COS75 = 0.25881904510252074f;
    public static final float SIN75 = 0.9659258262890683f;
    
    public static final float maxScale = 10000000f;
    public static final float minScale = 50000f;
    public static final int chartHeight = 395;
    public static final float fullRadarScale1 = 6000000f;
    public static final float fullRadarScale2 = 7800000f;

    public static String[] latRadar = new String[] {"6", "16", "0.0", "S"};     //latitude of Jakarta
    public static String[] lonRadar = new String[] {"106", "48", "0.0", "E"};  //longitude of Jakarta

    public static int port;
    public static String ipServer;
    public static boolean isUnicast;
    public static String BindInterface;

    public static boolean showCode = false;
    public static boolean showLat = false;                      //in deg, min, sec
    public static boolean showLon = false;                      //in deg, min, sec
    public static boolean showSpeed = false;                    //in knot
    public static boolean showTrackangle = false;               //in deg
    public static boolean showAltitude = false;                 //in feet

    public static final String websiteBPPT = "www.bppt.go.id";
    public static final String pdf = "User Manual.pdf";
    public static final String icon = "radar-icon.png";

    public static final java.awt.Toolkit kit = java.awt.Toolkit.getDefaultToolkit();

    public static final int screenWidth = kit.getScreenSize().width;
    public static final int screenHeight = kit.getScreenSize().height;
    
    public static String db_Username = "root";
    public static String db_Password = "";
}
